﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using Infrastructure.BaseClasses;

namespace MVVMBasic.ViewModel
{
    public class ViewModelLocator<T> where T : ViewModelBase
    {
        //public ViewModelLocator()
        //{
        //    Book = new BookViewModel(_sp.PageConductor, _sp.BookDataService);
        //}

        //public T ViewModel { get; set; }
        ////get { return new BookViewModel(_sp.PageConductor, _sp.BookDataService); }

        //// 1 new instance per View 
        //public CheckoutViewModel Checkout
        //{
        //    get { return new CheckoutViewModel(_sp.PageConductor, _sp.BookDataService); }
        //}
    }
}
